<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="description" content="">
  		<meta name="keywords" content="">
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0">
		<link rel="stylesheet" href="../css/base.css" />
		<link rel="stylesheet" type="text/css" href="../css/redPacket.css"/>
		<title>选择红包</title>
	</head>
	<body>
		<div class="rp_template" style="margin-top: 10px;">
			<script id='rp_list' type="text/html">
				<div class="rp_usableList">
				{{each usable as ua i}}
					<div class="usable_list bg_white">
						<div class="lacework"></div>
						<div class="rp_detail">
							<div class="rp_value  color_orange">¥<span class="rp_value_i">{{ua.rpValue | rpValueI}}</span>.<span>{{ua.rpValue | rpValueD}}</span></div>
							<div class="rp_explain color_6">
								<p>1、单笔投资金额满<span class="rp_lowestValue">{{ua.lowestValue}}</span>元，即可使用。</p>
								<p>2、限<span class="rp_lowestDuration">{{ua.lowestDuration}}</span>及以上产品。</p>
								<p>3、有效期至<span class="rp_limit">{{ua.rpList}}</span>。</p>
							</div>
						</div>
						<div class="crp_select"></div>
					</div>	
				{{/each}}
				</div>
				{{each noUsable as nua i}}
				<div class="no_usable-list bg_white">
					<div class="lacework no_lacework"></div>
					<!--<div class={{nua.rpStatus | Status}}></div>-->
					<div class="rp_detail">
						<div class="rp_value  color_6">¥<span class="rp_value_i">{{nua.rpValue | rpValueI}}</span>.<span>{{nua.rpValue | rpValueD}}</span></div>
						<div class="rp_explain color_6">
							<p>1、单笔投资金额满<span class="rp_lowestValue">{{nua.lowestValue}}</span>元，即可使用。</p>
							<p>2、限<span class="rp_lowestDuration">{{nua.lowestDuration}}</span>及以上产品。</p>
							<p>3、有效期至<span class="rp_limit">{{nua.rpList}}</span>。</p>
						</div>
					</div>
				</div>
				{{/each}}
			</script>
		</div>
	</body>
	<script src="../libs/jquery.min.js"></script>
	<script src="../js/globalConst.js"></script>
	<script src="../libs/template.js"></script>
	<script src="../js/redPacket.js"></script>
	<script>
//		$('.usable_list').delegate('click',function(){
//			console.log('o')
//			var num = $('.usable_list').index(this);
//			$('.crp_select').eq(num).toggleClass('crp_select_on');
//			alert('22')
//		})

	</script>
</html>
